﻿using System;

namespace Topro.Log
{
    /// <summary>
    /// 请求日志
    /// </summary>
    public class HttpLog
    {
        public string ApplicationName { get; set; }
        /// <summary>
        /// 请求Ip
        /// </summary>
        public string RequestIp { get; set; }
        /// <summary>
        /// 请求Url
        /// </summary>
        public string RequestUri { get; set; }
        /// <summary>
        /// 请求参数
        /// </summary>
        public string RequestQueryString { get; set; }
        /// <summary>
        /// 请求类型
        /// </summary>
        public string RequestContentType { get; set; }
        /// <summary>
        /// 请求方式
        /// </summary>
        public string RequestMethod { get; set; }
        /// <summary>
        /// 请求内容
        /// </summary>
        public string RequestBody { get; set; }
        /// <summary>
        /// 请求Cookies
        /// </summary>
        public string RequestCookies { get; set; }
        /// <summary>
        /// 请求头部
        /// </summary>
        public string RequestHeaders { get; set; }
        /// <summary>
        /// 请求时间
        /// </summary>
        public DateTime RequestTime { get; set; }
        /// <summary>
        /// 输出内容
        /// </summary>
        public string ResponseBody { get; set; }
        /// <summary>
        /// 输出状态码
        /// </summary>
        public int ResponseStatusCode { get; set; }
        /// <summary>
        /// 输出类型
        /// </summary>
        public string ResponseContentType { get; set; }
        /// <summary>
        /// 输出头部
        /// </summary>
        public string ResponseHeaders { get; set; }
        /// <summary>
        /// 输出时间
        /// </summary>
        public DateTime ResponseTime { get; set; }
    }
}
